<!DOCTYPE html>
<html>
	<head>
		<title>Home</title>
		<meta name="layout" content="main2">
		<link rel="stylesheet" href="${resource(dir: 'css', file: 'main2.css')}" type="text/css">
		
	</head>
	
	<body>
		
		<div class="nav" role="navigation">
			<ul>
				<li><a class="logout" href="${createLink(action: 'logout', controller:'user')}">Logout</a></li>				
			</ul>
		</div>
		
		<div style="margin-left:1em;">
			<h1> Homescreen</h1>
		</div>
		<br>
		
		<g:form style="display:${(permissions.showForecastSection) ? "inline" : "none"};" controller="Forecast"
				action="${permissions.forecastAction}" id="${(permissions.forecastId) ? permissions.forecastId : ""}">
	  		<input class="mybuttonHome" type="submit" value="Forecast&#10;Section" />
		</g:form>
  				
		<g:form style="display:${(permissions.showReportSection) ? "inline" : "none"}" controller="Report" action="list">
 			<input class="mybuttonHome" type="submit" value="Report&#10;Section" />
		</g:form>
  			
		<g:form style="display:${(permissions.showManagementSection) ? "inline" : "none"};" controller="User" action="managementOverview">
			<input class="mybuttonHome" type="submit" value="Management&#10;Section" />
		</g:form>
			</body>
</html>
